package com.igeek.shop.entity;

public class OrderItem {
	private String itemid;
	private int buyNum;
	private double subTotalPrice;
	private Product product;
	private String oid;
	public String getItemid() {
		return itemid;
	}
	public void setItemid(String itemid) {
		this.itemid = itemid;
	}
	public int getBuyNum() {
		return buyNum;
	}
	public void setBuyNum(int buyNum) {
		this.buyNum = buyNum;
	}
	public double getSubTotalPrice() {
		return subTotalPrice;
	}
	public void setSubTotalPrice(double subTotalPrice) {
		this.subTotalPrice = subTotalPrice;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	@Override
	public String toString() {
		return "OrderItem [itemid=" + itemid + ", count=" + buyNum + ", subTotalPrice=" + subTotalPrice + ", product="
				+ product + ", oid=" + oid + "]";
	}
	
}
